Release 10.1A: OpenEdge Development:
ADM and SmartObjects


SmartObject file relationships

Within the overall SmartObject class hierarchy, the class files described in the "General structure of a SmartObject" section relate to other files of the same type in certain very specific ways. These relationships establish what characteristics and properties a specific SmartObject type inherits. Figure 5–2, which is based on the SmartDataViewer, illustrates these relationships.

Figure 5–2: Include file structure for SmartDataViewer

In Figure 5–2, note the following:

When SmartObject code is preprocessed, the preprocessors limit the full expansion of the include files to exactly one branch of the class hierarchy, to avoid duplication of the SmartObject code.

Each SmartObject type uses a different part of the class hierarchy (different branches), but the The tree for any SmartObject type always ends with smart.i.

Figure 5–3 expands on Figure 5–2 to illustrate how super procedures are started.

Figure 5–3: Super procedure schematic for SmartDataViewer

In Figure 5–3, note the following:


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095